package ca.ioniq.shared.entity;

public enum Status {
	
	PROCESSED(1, "PROCESSED"),
    CANCELLED(2, "CANCELLED"),
	PENDING(3,"PENDING"),
	REJECTED(4, "REJECTED"),
	SHIPPED(5, "SHIPPED");
	
    private final Byte id; 
    private final String label;
    
	private Status(Integer id, String label) {
		this.id = id.byteValue();
		this.label = label;
	}
	public Byte getId() {
		return id;
	}
	public String getLabel() {
		return label;
	}
}
